package cake.dao;

import java.util.List;

import cake.entity.Cake;
import cake.entity.ShoppingCar;

public interface ShoppingCarDao {
	void updateShoppingCar(int count,int cid,int uid);
	
	void deleteShoppingCar(int uid,int cid);
	
	void deleteShoppingCarAll(int uid);
	
	void addShopingCar(ShoppingCar s);
	
	List<ShoppingCar> getAllShoppingCar();
	
	List<ShoppingCar> getShoppingCarByUid(int uid);
	
	ShoppingCar getShoppingCarById(int id);
	
	List<Cake> getCakeListFromShopping(int uid);
	
	Cake getCakeFromShopping(int uid,int cid);
	
	ShoppingCar getShoppingCarByCid(int cid,int uid);
	
}
